package com.gcc.service.impl;

import com.gcc.mapper.StudyAbilityMapper;
import com.gcc.pojo.StudyAbility;
import com.gcc.pojo.StudyDuration;
import com.gcc.mapper.StudyDurationMapper;
import com.gcc.service.StudyDurationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author gcc
 * @since 2023-02-02
 */
@Service
public class StudyDurationServiceImpl extends ServiceImpl<StudyDurationMapper, StudyDuration> implements StudyDurationService {
    @Resource
    private StudyDurationMapper sdm;

    @Override
    public List<StudyDuration> getStudyDurationByUserId(String student_id, String course_id) {
        return sdm.getStudyDurationByUserId(student_id, course_id);
    }
}
